package com.hsy.baoinbao.modules.order.gsondata;

import java.util.List;

/**
 * Created by Administrator on 2016/4/11.
 */
public class RecyleListIntoData {
    private int error;

    private String msg;

    private Result result;

    public void setError(int error) {
        this.error = error;
    }

    public int getError() {
        return this.error;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public Result getResult() {
        return this.result;
    }

    public class Result {
        private int id;

        private String code;

        private String create_datetime;

        private String commission;

        private List<Goods> goods;

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getCode() {
            return this.code;
        }

        public void setCreate_datetime(String create_datetime) {
            this.create_datetime = create_datetime;
        }

        public String getCreate_datetime() {
            return this.create_datetime;
        }

        public void setCommission(String commission) {
            this.commission = commission;
        }

        public String getCommission() {
            return this.commission;
        }

        public void setGoods(List<Goods> goods) {
            this.goods = goods;
        }

        public List<Goods> getGoods() {
            return this.goods;
        }

    }

    public class Goods {
        private int id;

        private String name;

        private List<Children> children;

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setChildren(List<Children> children) {
            this.children = children;
        }

        public List<Children> getChildren() {
            return this.children;
        }

    }

    public class Children {
        private int id;

        private String name;

        private int qty;

        private String unit;

        private int cat_parent_id;

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setQty(int qty) {
            this.qty = qty;
        }

        public int getQty() {
            return this.qty;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getUnit() {
            return this.unit;
        }

        public void setCat_parent_id(int cat_parent_id) {
            this.cat_parent_id = cat_parent_id;
        }

        public int getCat_parent_id() {
            return this.cat_parent_id;
        }

    }
}
